<template>
  <div class="demo">
    <div class="demo-title">超出边界</div>
    <div class="demo-content">
      <Space>
        <InputNumber v-model:value="value" :min="1" :max="10" />
        <Button type="primary" @click="value = 99">Reset</Button>
      </Space>
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import Button from '@sscd/button';
  import Space from '@sscd/space';
  import InputNumber from '@sscd/input-number';
  const value = ref<number>(99);
</script>
